package com.talos.ums.controller.admin.useracounttype.vo;

import com.talos.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.talos.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 账号类型分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UmsUserAcountTypePageReqVO extends PageParam {

    @Schema(description = "用户id", example = "29508")
    private Long userId;

    @Schema(description = "账号类型：内部账号-inner，货主账号-company，货主客户账号-company_customer，承运商账号-carrier，其他账号-other", example = "2")
    private String acountType;

    @Schema(description = "账号类型描述：内部账号-inner，货主账号-company，货主客户账号-company_customer，承运商账号-carrier，其他账号-other")
    private String acountTypeDesc;

    @Schema(description = "租户id", example = "6351")
    private Long tenantId;

    @Schema(description = "其他信息", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "", example = "19753")
    private Long creatorId;

    @Schema(description = "创建人工号")
    private String creatorCode;

    @Schema(description = "创建人姓名", example = "李四")
    private String creatorName;

    @Schema(description = "修改时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] modifyTime;

    @Schema(description = "", example = "10727")
    private Long modifierId;

    @Schema(description = "修改人工号")
    private String modifierCode;

    @Schema(description = "修改人姓名", example = "李四")
    private String modifierName;

}
